<?php /* Smarty version Smarty-3.1.18, created on 2015-01-27 11:01:25
         compiled from "application/views/user_orderdetail.php" */ ?>
<?php /*%%SmartyHeaderCode:146721881254c5da1bac4276-53049621%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '643a11938124b4d2d26dc98148cdbb24ebdf3970' => 
    array (
      0 => 'application/views/user_orderdetail.php',
      1 => 1422327682,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '146721881254c5da1bac4276-53049621',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_54c5da1bb9f943_87264035',
  'variables' => 
  array (
    'data' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54c5da1bb9f943_87264035')) {function content_54c5da1bb9f943_87264035($_smarty_tpl) {?>
  <!--container begin-->
  <div id="container" class="fix">
    <div class="icontainer">
      <div id="main">
        <div class="crumb"><a href="#">Home</a> &gt; Order Detail</div>
        <div class="userWrapper">
          <h3>Order Detail</h3>
          <div class="userDes">
            <p>Please check the following information. If you have any question, please contact our customer service team as soon as possible.</p>
            <div class="orderDetail">
              <h4>Item Description</h4>
              <p class="des">Order Number:<span>100120002570149</span></p>
              <table class="cartTable">
                <tbody>
                  <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value['dt']->productlist; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
	              <tr>
	                <td class="sku"><?php echo $_smarty_tpl->tpl_vars['item']->value->product_id;?>
</td>
	                <td class="item"><div class="itemImg"><a href="/<?php echo $_smarty_tpl->tpl_vars['item']->value->product_url;?>
"><img alt="" src="<?php echo $_smarty_tpl->tpl_vars['item']->value->img;?>
" /></a></div>
	                  <div class="itemText"><a href="/<?php echo $_smarty_tpl->tpl_vars['item']->value->product_url;?>
" title=""><?php echo $_smarty_tpl->tpl_vars['item']->value->product_name;?>
</a></div></td>
	                <td class="size"><?php echo $_smarty_tpl->tpl_vars['item']->value->attr;?>
</td>
	                <td class="qty"><?php echo $_smarty_tpl->tpl_vars['item']->value->qty;?>
</td>
	                <td class="price color01"><?php echo $_smarty_tpl->tpl_vars['item']->value->price;?>
</td>
	                <td class="total color01"><?php echo $_smarty_tpl->tpl_vars['item']->value->price*$_smarty_tpl->tpl_vars['item']->value->qty;?>
</td>
	              </tr>
	              <?php } ?>
                </tbody>
              </table>
              <div class="totalArea">
                <p>Order Subtotal: &pound;<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->total;?>
</p>
                <p>Shipping Fee: &pound;<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->shippingfee;?>
</p>
                <p class="orderTotal">Order Total:&pound;<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->total;?>
</p>
              </div>
              <div class="totalArea fix">
                <div class="shipAdd">
                  <h4>Shipping Address</h4>
                  <ul>
                    <li>
                        <p><b>Address:</b><?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->shipaddr['address'];?>
</p>
                      <p><b>City:</b><?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->shipaddr['city'];?>
</p>
                      <p><b>State:</b><?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->shipaddr['state'];?>
</p>
                      <p><b>Phone:</b><?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->shipaddr['phone'];?>
</p>
                    </li>
                  </ul>
                </div>
                <div class="bilAdd">
                  <h4>Billing Address</h4>
                  <ul>
                    <li>
                        <p><b>Address:</b><?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->shipaddr['address'];?>
</p>
                      <p><b>City:</b><?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->shipaddr['city'];?>
</p>
                      <p><b>State:</b><?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->shipaddr['state'];?>
</p>
                      <p><b>Phone:</b><?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->shipaddr['phone'];?>
</p>
                    </li>
                  </ul>
                </div>
              </div>
              <div class="cartBtn fix"><a href="/" class="continueBtn">Continue Shopping</a>
                    <?php if ($_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->status=="pending"||$_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->status=="unpaid") {?>
                  <a href="/continue_pay/<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']->orderinfo->orderid;?>
" class="checkoutBtn">Continue Paying</a></div>
                  <?php }?>
              </div>
            </div>
          </div>
        </div>
      </div>
    <div id="aside">
  		<h3>My Account</h3>
        <div class="search">
          <form action="" method="post">
            <div class="form">
		    <li><a href="/user_mag/myorder" rel="nofollow" name="sel-year" id="sel-year"  tabindex="1">My Orders</a></li>
			<li><a href="/user_mag/addresslist" rel="nofollow" name="sel-year" id="sel-year"  tabindex="1">Address</a></li>
			<li><a href="/user_mag/account" rel="nofollow" name="sel-year" id="sel-year"  tabindex="1">Account Details</a></li>
             </div>
          </form>
      </div>
      </div>
    </div>
  </div>
  <!--container end-->
  <?php }} ?>
